package com.shycloud.mido.organ.api.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.shycloud.mido.common.core.util.R;
import com.shycloud.mido.organ.api.entity.DiaryEntity;


/**
 * @author npc
 * @date 2018/6/22
 */
@FeignClient(value="shycloud-organ-biz")
public interface RemoteDiaryService {

	@RequestMapping(method = RequestMethod.POST, value = "/diary/addDiaryAtv")
	public R<Integer> addDiaryAtv(@RequestBody DiaryEntity diary);
}
